package com.javafamily;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@SpringCloudApplication
// 开启dashboard功能
@EnableHystrixDashboard
public class DashboardConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(DashboardConsumerApplication.class, args);
    }
}
